/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Font*/
public class Font extends JavaScriptObject {

	protected Font() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final ColorFormat getColor()/*-{
		return this.Color;
	}-*/;

	protected native final int _getBold()/*-{
		return this.Bold;
	}-*/;

	public final MsoTriState getBold(){
		return MsoTriState.valueOf(_getBold());
	}
	protected native final void _setBold( int value)/*-{
		this.Bold = value;
	}-*/;

	public final void setBold(MsoTriState value){
		_setBold(value.getValue());
	}
	protected native final int _getItalic()/*-{
		return this.Italic;
	}-*/;

	public final MsoTriState getItalic(){
		return MsoTriState.valueOf(_getItalic());
	}
	protected native final void _setItalic( int value)/*-{
		this.Italic = value;
	}-*/;

	public final void setItalic(MsoTriState value){
		_setItalic(value.getValue());
	}
	protected native final int _getShadow()/*-{
		return this.Shadow;
	}-*/;

	public final MsoTriState getShadow(){
		return MsoTriState.valueOf(_getShadow());
	}
	protected native final void _setShadow( int value)/*-{
		this.Shadow = value;
	}-*/;

	public final void setShadow(MsoTriState value){
		_setShadow(value.getValue());
	}
	protected native final int _getEmboss()/*-{
		return this.Emboss;
	}-*/;

	public final MsoTriState getEmboss(){
		return MsoTriState.valueOf(_getEmboss());
	}
	protected native final void _setEmboss( int value)/*-{
		this.Emboss = value;
	}-*/;

	public final void setEmboss(MsoTriState value){
		_setEmboss(value.getValue());
	}
	protected native final int _getUnderline()/*-{
		return this.Underline;
	}-*/;

	public final MsoTriState getUnderline(){
		return MsoTriState.valueOf(_getUnderline());
	}
	protected native final void _setUnderline( int value)/*-{
		this.Underline = value;
	}-*/;

	public final void setUnderline(MsoTriState value){
		_setUnderline(value.getValue());
	}
	protected native final int _getSubscript()/*-{
		return this.Subscript;
	}-*/;

	public final MsoTriState getSubscript(){
		return MsoTriState.valueOf(_getSubscript());
	}
	protected native final void _setSubscript( int value)/*-{
		this.Subscript = value;
	}-*/;

	public final void setSubscript(MsoTriState value){
		_setSubscript(value.getValue());
	}
	protected native final int _getSuperscript()/*-{
		return this.Superscript;
	}-*/;

	public final MsoTriState getSuperscript(){
		return MsoTriState.valueOf(_getSuperscript());
	}
	protected native final void _setSuperscript( int value)/*-{
		this.Superscript = value;
	}-*/;

	public final void setSuperscript(MsoTriState value){
		_setSuperscript(value.getValue());
	}
	public native final float getBaselineOffset()/*-{
		return this.BaselineOffset;
	}-*/;

	public native final void setBaselineOffset(float value)/*-{
		this.BaselineOffset = value;
	}-*/;

	protected native final int _getEmbedded()/*-{
		return this.Embedded;
	}-*/;

	public final MsoTriState getEmbedded(){
		return MsoTriState.valueOf(_getEmbedded());
	}
	protected native final int _getEmbeddable()/*-{
		return this.Embeddable;
	}-*/;

	public final MsoTriState getEmbeddable(){
		return MsoTriState.valueOf(_getEmbeddable());
	}
	public native final float getSize()/*-{
		return this.Size;
	}-*/;

	public native final void setSize(float value)/*-{
		this.Size = value;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final String getNameFarEast()/*-{
		return this.NameFarEast;
	}-*/;

	public native final void setNameFarEast(String value)/*-{
		this.NameFarEast = value;
	}-*/;

	public native final String getNameAscii()/*-{
		return this.NameAscii;
	}-*/;

	public native final void setNameAscii(String value)/*-{
		this.NameAscii = value;
	}-*/;

	protected native final int _getAutoRotateNumbers()/*-{
		return this.AutoRotateNumbers;
	}-*/;

	public final MsoTriState getAutoRotateNumbers(){
		return MsoTriState.valueOf(_getAutoRotateNumbers());
	}
	protected native final void _setAutoRotateNumbers( int value)/*-{
		this.AutoRotateNumbers = value;
	}-*/;

	public final void setAutoRotateNumbers(MsoTriState value){
		_setAutoRotateNumbers(value.getValue());
	}
	public native final String getNameOther()/*-{
		return this.NameOther;
	}-*/;

	public native final void setNameOther(String value)/*-{
		this.NameOther = value;
	}-*/;

	public native final String getNameComplexScript()/*-{
		return this.NameComplexScript;
	}-*/;

	public native final void setNameComplexScript(String value)/*-{
		this.NameComplexScript = value;
	}-*/;

}
